import request from '@/utils/request'

// 查询预约（团体）领队名单列表
export function listList(query) {
  return request({
    url: '/system/listGroup/list',
    method: 'get',
    params: query
  })
}


export function listList02(query) {
  return request({
    url: '/system/listGroup/list02',
    method: 'get',
    params: query
  })
}

// 查询预约（团体）领队名单详细
export function getList(id) {
  return request({
    url: '/system/listGroup/' + id,
    method: 'get'
  })
}

// 新增预约（团体）领队名单
export function addList(data) {
  return request({
    url: '/system/listGroup',
    method: 'post',
    data: data
  })
}

// 修改预约（团体）领队名单
export function updateList(data) {
  return request({
    url: '/system/listGroup',
    method: 'put',
    data: data
  })
}

// 删除预约（团体）领队名单
export function delList(id) {
  return request({
    url: '/system/listGroup/' + id,
    method: 'delete'
  })
}
